package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:04 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUITableColumnDAO
    extends IDataAccessInterface<ProductUITableColumn, ProductUITableColumnDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_TABLE_COLUMN";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_TABLE_COLUMN.ID";

  /** Mapped Field TABLE_ID */
  static final String TableId = "PRODUCT_UI_TABLE_COLUMN.TABLE_ID";

  /** Mapped Field CODE */
  static final String Code = "PRODUCT_UI_TABLE_COLUMN.CODE";

  /** Mapped Field TITLE */
  static final String Title = "PRODUCT_UI_TABLE_COLUMN.TITLE";

  /** Mapped Field TITLE_KEY */
  static final String TitleKey = "PRODUCT_UI_TABLE_COLUMN.TITLE_KEY";

  /** Mapped Field TITLE_ICON */
  static final String TitleIcon = "PRODUCT_UI_TABLE_COLUMN.TITLE_ICON";

  /** Mapped Field WIDTH */
  static final String Width = "PRODUCT_UI_TABLE_COLUMN.WIDTH";

  /** Mapped Field ALIGN */
  static final String Align = "PRODUCT_UI_TABLE_COLUMN.ALIGN";

  /** Mapped Field FORMAT_VALUE */
  static final String FormatValue = "PRODUCT_UI_TABLE_COLUMN.FORMAT_VALUE";

  /** Mapped Field LIST_DATA_SOURCE */
  static final String ListDataSource = "PRODUCT_UI_TABLE_COLUMN.LIST_DATA_SOURCE";

  /** Mapped Field CELL_EDITOR */
  static final String CellEditor = "PRODUCT_UI_TABLE_COLUMN.CELL_EDITOR";

  /** Mapped Field DATA_TYPE */
  static final String DataType = "PRODUCT_UI_TABLE_COLUMN.DATA_TYPE";

  /** Mapped Field SHOW_VALUE */
  static final String ShowValue = "PRODUCT_UI_TABLE_COLUMN.SHOW_VALUE";

  /** Mapped Field CAN_SORT */
  static final String CanSort = "PRODUCT_UI_TABLE_COLUMN.CAN_SORT";

  /** Mapped Field CAN_RESIZE */
  static final String CanResize = "PRODUCT_UI_TABLE_COLUMN.CAN_RESIZE";

  /** Mapped Field CAN_FILTER */
  static final String CanFilter = "PRODUCT_UI_TABLE_COLUMN.CAN_FILTER";

  /** Mapped Field CAN_RE_ORDER */
  static final String CanReOrder = "PRODUCT_UI_TABLE_COLUMN.CAN_RE_ORDER";

  /** Mapped Field FROZEN */
  static final String Frozen = "PRODUCT_UI_TABLE_COLUMN.FROZEN";

  /** Mapped Field SORT_INDEX */
  static final String SortIndex = "PRODUCT_UI_TABLE_COLUMN.SORT_INDEX";

  /** Mapped Field LAST_MODIFY_USER */
  static final String LastModifyUser = "PRODUCT_UI_TABLE_COLUMN.LAST_MODIFY_USER";

  /** Mapped Field LAST_MODIFY_TIME */
  static final String LastModifyTime = "PRODUCT_UI_TABLE_COLUMN.LAST_MODIFY_TIME";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_TABLE_COLUMN.REMARKS";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_TABLE_COLUMN.STATUS";

  /** Mapped Field MODEL_PROPERTY_ID */
  static final String ModelPropertyId = "PRODUCT_UI_TABLE_COLUMN.MODEL_PROPERTY_ID";

  /** Mapped Field ACTION_GROUP_ID */
  static final String ActionGroupId = "PRODUCT_UI_TABLE_COLUMN.ACTION_GROUP_ID";

  /** Mapped Attribute listDataSourceCode */
  static final String ListDataSourceCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIListDAO.Code,
          com.ourteam.product.ui.dao.IProductUIListDAO.EntityName + ".",
          "RELATED_K37FQJ_ProductUIList.");

  /** Mapped Attribute listDataSourceName */
  static final String ListDataSourceName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIListDAO.Name,
          com.ourteam.product.ui.dao.IProductUIListDAO.EntityName + ".",
          "RELATED_K37FQJ_ProductUIList.");

  /** Mapped Attribute actionGroupCode */
  static final String ActionGroupCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIActionGroupDAO.ActionGroupCode,
          com.ourteam.product.ui.dao.IProductUIActionGroupDAO.EntityName + ".",
          "RELATED_DEJALW_ProductUIActionGroup.");

  public static interface DataProperty {

    /** Attribute modelPropertyId */
    static final String ModelPropertyId = "modelPropertyId";

    /** Attribute id */
    static final String Id = "id";

    /** Attribute tableId */
    static final String TableId = "tableId";

    /** Attribute code */
    static final String Code = "code";

    /** Attribute title */
    static final String Title = "title";

    /** Attribute titleKey */
    static final String TitleKey = "titleKey";

    /** Attribute titleIcon */
    static final String TitleIcon = "titleIcon";

    /** Attribute width */
    static final String Width = "width";

    /** Attribute align */
    static final String Align = "align";

    /** Attribute formatValue */
    static final String FormatValue = "formatValue";

    /** Attribute listDataSource */
    static final String ListDataSource = "listDataSource";

    /** Attribute cellEditor */
    static final String CellEditor = "cellEditor";

    /** Attribute dataType */
    static final String DataType = "dataType";

    /** Attribute showValue */
    static final String ShowValue = "showValue";

    /** Attribute canSort */
    static final String CanSort = "canSort";

    /** Attribute canResize */
    static final String CanResize = "canResize";

    /** Attribute canFilter */
    static final String CanFilter = "canFilter";

    /** Attribute canReOrder */
    static final String CanReOrder = "canReOrder";

    /** Attribute frozen */
    static final String Frozen = "frozen";

    /** Attribute sortIndex */
    static final String SortIndex = "sortIndex";

    /** Attribute lastModifyUser */
    static final String LastModifyUser = "lastModifyUser";

    /** Attribute lastModifyTime */
    static final String LastModifyTime = "lastModifyTime";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute listDataSourceCode */
    static final String ListDataSourceCode = "listDataSourceCode";

    /** Attribute listDataSourceName */
    static final String ListDataSourceName = "listDataSourceName";

    /** Attribute actionGroupCode */
    static final String ActionGroupCode = "actionGroupCode";

    /** Attribute actionGroupId */
    static final String ActionGroupId = "actionGroupId";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUITableColumn findById(final long id) throws Exception;
}
